package us.icitap.commandcenter.ui.configuration;

import us.icitap.commandcenter.CommandCenterUI;
import us.icitap.commandcenter.business.ejb.persistence.Call;
import us.icitap.commandcenter.business.ejb.persistence.CommandCenter;
import us.icitap.commandcenter.ui.custom.CustSaveButton;
import us.icitap.commandcenter.ui.custom.CustTextField;
import us.icitap.commandcenter.ui.custom.CustVerticalLayout;

import com.vaadin.data.fieldgroup.BeanFieldGroup;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;

public class CommandCenterForm extends CustVerticalLayout implements ClickListener{

	@Override
	public void buttonClick(ClickEvent event) {
		// TODO Auto-generated method stub
		
	}

	/*CommandCenter commandCenter = new CommandCenter();
	BeanFieldGroup<CommandCenter> binder = new BeanFieldGroup<CommandCenter>(CommandCenter.class);
	
	private final CustTextField ccIdTextField = new CustTextField("Kodi i salles operative");
	private final CustTextField ccShortNameTextField = new CustTextField("Emertimi i shkurter");
	private final CustTextField baseOrgIdTextField = new CustTextField("Kodi i struktures baze");
	
	private final CustTextField ccNameTextField = new CustTextField("Emertimi i salles operative");
	private final CustTextField baseOrgNameTextField = new CustTextField("Emertimi i struktures baze");
	
	
	
	private final  CustSaveButton saveButton = new CustSaveButton("RUAJ");
	private final CommandCenterLayout ccLayout;
	
	
	public CommandCenterForm(CommandCenterLayout ccLayout) {
		this.ccLayout = ccLayout;
		this.setCaption("Sallat Operative");
		commandCenter.setRecordUser(CommandCenterUI.getUser().getUsername());
		binder.setItemDataSource();
		
		
	}*/
}
